﻿using System;
using Mono.Rift.Core.Graphics;

namespace Mono.Rift.Platform.OSX
{
	public abstract class PlatformCore
	{
		public double Width { get; set; }
		public double Height { get; set; }

		public PlatformCore ()
		{
		}

		public abstract RenderDevice setupGraphics();
		public abstract void onStartup ();

		protected static Func<PlatformCore> _factory = new Func<PlatformCore>(() => { throw new NotImplementedException(); });

		public static PlatformCore create()
		{
			return _factory ();
		}
	}
}

